﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;

namespace SharpMail.Connections
{
    public delegate void ConnectionHandler(MessageUserAgent mua);


    public interface IConnectionManager
    {
        event ConnectionHandler OnConnection;


        void AcceptConnectionsOn(IPEndPoint ipEndPoint);

        void StopAcceptingConnections();
    }
}
